package cn.Test;

import java.sql.SQLException;
import java.util.List;

import org.junit.Test;

import cn.entity.goods;
import cn.DB.DBProcess;

public class DBProcessTest {

	@Test
	public void testGetGoodsList() throws ClassNotFoundException, SQLException {
		DBProcess db = new DBProcess();
		List<goods> list = db.getgoodsList();
		for (goods g : list) {
			System.out.println(g);
		}
	}

}
